package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.bean.PackBean;
import com.xuxin.nantai.presenter.PackPresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.19 0019
 */
public interface PackContract {

    interface Model {

        void getPack(PackPresenter presenter, String LoginName, String ProductInfo, String InspectorInfo, int PageIndex);

        void deletePack(PackPresenter presenter, String UserName, String Guid);
    }

    interface View extends BaseContract.view {

        void onSuccess(PackBean packBean);

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getPack(String LoginName, String ProductInfo, String InspectorInfo, int PageIndex);

        void deletePack(String UserName, String Guid);

        void onSuccess(PackBean packBean);

        void onSuccess(BaseBean baseBean);
    }
}